package com.harper;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 商品服务启动类
 * bootstrap.properties -> bootstrap.yml -> application.properties -> application.yml
 * 配置文件优先级（由高到低）
 *    bootstrap.properties -> bootstrap.yml -> application.properties -> application.yml
 */
@SpringBootApplication
@EnableDiscoveryClient
public class ProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProductApplication.class, args);
    }

}
